package com.youfan.service;
import com.youfan.model.Product;
import com.youfan.model.ProductType;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient(value = "youfanproducttype")
public interface ProductTypeService {
    @RequestMapping(value = "/listproducttype",method = RequestMethod.GET)
    List<ProductType> listproductType();

}
